package com.nexen.merchant.city.domain;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.nexen.common.annotation.Excel;
import com.nexen.common.core.domain.BaseEntity;

/**
 * 城市管理对象 nexen_City
 *
 * @author xiao
 * @date 2024-07-31
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY,getterVisibility = JsonAutoDetect.Visibility.NONE)
public class NexenCity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long Id;

    /** 省份 */
    @Excel(name = "省份")
    private String Province;

    /** 城市 */
    @Excel(name = "城市")
    private String City;

    public void setId(Long Id)
    {
        this.Id = Id;
    }

    public Long getId()
    {
        return Id;
    }
    public void setProvince(String Province)
    {
        this.Province = Province;
    }

    public String getProvince()
    {
        return Province;
    }
    public void setCity(String City)
    {
        this.City = City;
    }

    public String getCity()
    {
        return City;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("Id", getId())
                .append("Province", getProvince())
                .append("City", getCity())
                .toString();
    }
}
